home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Stolen Data 3
/
Stolen Data 3.adf
/
MAG-TEXT
/
CODE6a
< prev
next >
Wrap
Text File
|
1989-01-01
|
1KB
|
31 lines
exists a utility by TURBO SLUG of THR
which takes a normal screen and
converts it into this format for you.
I however prefer to use a standard
screen layout (320 pixels wide) IFF
converted to the modulo format, such
that every line of the font contains
one line from each bitplane of the
original font. In this way a whole
character can be blitted in a single
operation. To use this format of font
requires a reference table however,
pointing to the start of every
character in the font. To see this
method in action, I suggest you study
the source.
In either method we must first
convert ascii into a usable format.
Most fonts lack lower case letters, but
I prefer to type scrolltext into a text
editor naturally, so we want to convert
lower into upper case. To do this
compare the code with hex 5c, if
greater than this then subtract hex 20.
It is customary to have the space with
ascii code hex 20 (32) as the first
character in a font, the remainder
following in their natural ascii
sequence so subtract hex 20 from the
code. If using a reference table we